package com.xiangban.yanglaodajie_platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/4/9 15:01
 */
@Data
@ApiModel("收货地址")
public class DeliveryAddress {

    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "联系人姓名")
    private String name;

    @ApiModelProperty(value = "联系人电话")
    private String phone;

    @ApiModelProperty(value = "城市code")
    private Integer cityCode;

    @ApiModelProperty(value = "详细收货地址")
    private String address;

    @ApiModelProperty(value = "是否是默认地址：-1:否  1：是")
    private Integer isDefault;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;

    @ApiModelProperty(value = "修改时间")
    private Integer status;
}
